package com.itheima.travel.service;

import com.itheima.travel.pojo.User;

public interface UserService {
    /**
     * 用户注册
     * @param user
     * @return
     */
    public boolean register(User user);

    /**
     * 登录
     * @param u
     * @return
     */
    public User login(User u);
}

